home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _6767A842151447B48355D18B40D859E5 < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.8 KB  |  78 lines

  1. MedicTool = {
  2.     name            = "MedicTool",
  3.     object        = "Objects/pickups/health/medikit.cgf",
  4.     character    = "Objects/Weapons/health_pack/health_pack.cgf",
  5.     
  6.     PlayerSlowDown = 1.0,    
  7.         -- factor to slow down the player when he holds that weapon
  8.     ---------------------------------------------------
  9.     AimMode=1,
  10.     --NoZoom=1,
  11.     ZoomOverlayFunc=AimModeZoomHUD.DrawHUD,
  12.     
  13.     MaxZoomSteps =  1,
  14.     ZoomSteps = { 1.2},
  15.     -- normal crosshair-size
  16.     ---------------------------------------------------
  17.     --ActivateSound = Sound.Load3DSound("Sounds/Weapons/Machete/Macheteweapact.wav"),    
  18.     -- sound to play when this weapon is selected
  19.     ---------------------------------------------------
  20.     switch_on_empty_ammo = 1,
  21.     ---------------------------------------------------
  22.     NoZoom=1,
  23.     
  24.     FireParams ={                                                    
  25.         -- describes all supported firemodes
  26.     {
  27.         HasCrosshair=1,
  28.         type = 3,    
  29.         AmmoType="HealthPack",
  30.         projectile_class="Health",
  31.         accuracy=1,
  32.         reload_time=0.01,
  33.         fire_rate=0.3,
  34.         distance=1.4,
  35.         damage=20,
  36.         bullet_per_shot=1,
  37.         bullets_per_clip=1,
  38.         FModeActivationTime = 2.0,
  39.         iImpactForceMul = 80,
  40.         iImpactForceMulFinal = 80,
  41.         fire_activation=bor(FireActivation_OnPress),
  42.         FireSounds = {
  43.             "Sounds/Weapons/health/dart.wav",        -- todo
  44.         },
  45.  
  46.         no_ammo=1,
  47.         SoundMinMaxVol = { 255, 5, 20 },
  48.     },
  49.     
  50.     },
  51.  
  52. --    SoundEvents={
  53.         --    animname,    frame,    soundfile
  54. --        {    "swim",        1,            Sound:LoadSound("Sounds/player/water/underwaterswim2.wav",0,255)},
  55. --    },
  56.  
  57.     Recoil = 1,
  58. }
  59.  
  60. CreateBasicWeapon(MedicTool);
  61.  
  62. ---------------------------------------------------------------
  63. --ANIMTABLE
  64. ------------------
  65. --SINGLE FIRE
  66. MedicTool.anim_table={}
  67. MedicTool.anim_table[1]={
  68.     idle={
  69.         "Idle11",
  70.         "Idle21",
  71.     },
  72.     fire={
  73.         "Fire11",
  74.     },
  75.     activate={
  76.         "Activate1"
  77.     },
  78. }